
<%@ page import="institutional.Subject" %>
<!doctype html>
<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta name="layout" content="kickstart" />
	<g:set var="entityName" value="${message(code: 'subject.label', default: 'Subject')}" />
	<title><g:message code="default.show.label" args="[entityName]" /></title>
</head>

<body>

<section id="show-subject" class="first">

	<table class="table">
		<tbody>
		
			<tr class="prop">
				<td valign="top" class="name"><g:message code="subject.name.label" default="Name" /></td>
				
				<td valign="top" class="value">${fieldValue(bean: subjectInstance, field: "name")}</td>
				
			</tr>
		
			<tr class="prop">
				<td valign="top" class="name"><g:message code="subject.credits.label" default="Credits" /></td>
				
				<td valign="top" class="value">${fieldValue(bean: subjectInstance, field: "credits")}</td>
				
			</tr>
		
			<tr class="prop">
				<td valign="top" class="name"><g:message code="subject.hoursPerWeek.label" default="Hours Per Week" /></td>
				
				<td valign="top" class="value">${fieldValue(bean: subjectInstance, field: "hoursPerWeek")}</td>
				
			</tr>
		
			<tr class="prop">
				<td valign="top" class="name"><g:message code="subject.code.label" default="Code" /></td>
				
				<td valign="top" class="value">${fieldValue(bean: subjectInstance, field: "code")}</td>
				
			</tr>
		
			<tr class="prop">
				<td valign="top" class="name"><g:message code="subject.department.label" default="Department" /></td>
				
				<td valign="top" class="value"><g:link controller="department" action="show" id="${subjectInstance?.department?.id}">${subjectInstance?.department?.encodeAsHTML()}</g:link></td>
				
			</tr>
		
		</tbody>
	</table>
</section>

</body>

</html>
